package stock.chart;

public class DataLabelDecorator extends ChartDecorator {

    private String description = "加数据标签";
    private Chart chart;

    public DataLabelDecorator(Chart chart) {
        this.chart = chart;
        description = chart.getDescription() + " " + description;
    }

    @Override
    public String getDescription() {
        return description;
    }

    @Override
    public void draw() {

    }
}